package edu.unc.comp410.colemangeer.data;

import java.util.Set;

import edu.unc.comp410.colemangeer.model.Customer;


		
/**
 * An object / table gateway that connects
 * a running Java program to persistent 
 * storage of data.
 */
public interface ICustomerGateway extends IPersistentObjectGateway {
	
	/**
	 * @return the single Customer with Id == theId
	 *    or null if no such Customer
	 */
	Customer getById( Integer theId );	
	
	/**
	 * @return all Customers whose name matches theName
	 */
	Set<Customer> getByName( String theName );

}
